#pragma once

//xml sample:<NetContainer name="" width="118" height="70"  />
class CShellBrowser;

class CNetContainerUI : public CControlUI
{
public:
	CNetContainerUI();
	~CNetContainerUI();

	virtual void DoInit();
	virtual void SetVisible(bool bVisible = true);
	LPCTSTR GetClass() const;
	LPVOID GetInterface(LPCTSTR pstrName);

	void SetAttribute(LPCTSTR pstrName, LPCTSTR pstrValue);

	virtual void SetPos(RECT rc, bool bNeedInvalidate = true);
	virtual void Move(SIZE szOffset, bool bNeedInvalidate = true);

private:
	HWND m_myHwnd;
	CShellBrowser* m_psb;
};

